import QtQuick
import QtQuick.Controls.Basic

Text {
    id: _text
    width: 200
    height: 50


    Rectangle{
        color: "#04a396"
        anchors.fill: parent
        radius: 20

        Label{
            width: 100
            height: 50
            color: "#c02bc1"
            text: qsTr("Custext1111")
            anchors.verticalCenter: parent.verticalCenter
            horizontalAlignment: Text.AlignHCenter
            verticalAlignment: Text.AlignVCenter
            font.bold: true
            font.family: "Times New Roman"
            font.pointSize: 12
            anchors.horizontalCenter: parent.horizontalCenter
        }
    }
}
